-- GENERATED SPELL FOR [Sergeant Lorric] --


function spell0_23963(pUnit, Event) --@Scorpid Sting,n/a--
pUnit:FullCastSpellOnTarget(18545,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23963', 20270, 1)
end

function spell1_23963(pUnit, Event) --@Silencing Shot,n/a--
pUnit:FullCastSpellOnTarget(42671,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23963', 3261, 1)
end

function Sorts_23963(pUnit, Event)
local choix_sorts_23963 = math.random(0, 1)
if choix_sorts_23963 == 0 then
pUnit:RegisterEvent('spell0_23963', 1, 1)
end
if choix_sorts_23963 == 1 then
pUnit:RegisterEvent('spell1_23963', 1, 1)
end
end

function mob23963_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23963', math.random(1500, 3000), 1)
end

function mob23963_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23963_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23963_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23963, 1, 'mob23963_Action')
RegisterUnitEvent(23963, 2, 'mob23963_Leave')
RegisterUnitEvent(23963, 3, 'mob23963_Kill')
RegisterUnitEvent(23963, 4, 'mob23963_Die')
